package com.zhangye.test.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhangye.test.mapper.CollapseMapper;
import com.zhangye.test.model.Collapse;

@Service
public class CollapseService {

	@Autowired
	private CollapseMapper collapseMapper;
	
	
	public int insert (Collapse c){
		int i = collapseMapper.insert(c);
		return i;
	}
}
